import $ from "jquery"

export const searchList = (wd) => {
	return new Promise((resove, reject) => {
		$.ajax({
			url: `http://localhost:3000/search?keywords=${wd}`,
			success(res){
				resove(res)
			},
			error(e) {
				reject(e)
			}
		})
	})
}


